package com.bawei.cashier

import com.bawei.base.bean.PayerEntity
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder

class CashierAdapter:BaseQuickAdapter<PayerEntity,BaseViewHolder>(R.layout.item_payer) {
    override fun convert(helper: BaseViewHolder, item: PayerEntity) {
        helper.setText(R.id.payer_area,"项目名称："+item.projectName)
        helper.setText(R.id.payer_phone," 联系电话：" +item.contactNumber)
        helper.setText(R.id.payer_pirce,"￥："+item.totalAmount)
        helper.setText(R.id.payer_username,"户主名称："+item.payerName)
    }
}